from flask import Flask
from flask_cors import CORS

from zijie.task_api import task_bp
from zijie.testcase_api import testcase_bp

app = Flask(__name__)
CORS(app)

@app.route('/')
def hello():
    return "hello,亲爱的字节员工"

if __name__ == '__main__':
    app.register_blueprint(testcase_bp)
    app.register_blueprint(task_bp)
    app.run(host='0.0.0.0',debug=True)
